package com.mapper;

import com.javabean.SysLog;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SysLogMapper {
    @Select("select * from syslog")
    List<SysLog> selectAll();
    List<SysLog> selectLikeUsernameAndUrl(@Param("username") String username,@Param("url") String url);
    int insertSysLog(SysLog sysLog);
}
